package cn.liip.beans;

public class Student {

	private String _id;
	private String name;
	private String sex;
	private String address;
	private int age;
	private String number;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("Student Instance:");
		sb.append(" _id: " + _id);
		sb.append(" name: " + name);
		sb.append(" sex: " + sex);
		sb.append(" address: " + address);
		sb.append(" number: " + number);
		sb.append(" age: " + age);
		return sb.toString();
	}
}
